package dao;

import Dto.GoodsDto;
import model.Order;

import java.sql.Connection;
import java.util.List;

public interface OrderDAO {
    void addOrder(Connection con, Order order) throws Exception;

    void addOrder(Order order);


    List<Order> findOrder() throws Exception;

    void addOrderDetail(Order order, GoodsDto goodsDto);

    void deleteByOrderId(String id);

    List<Order> findMyOrder(String id);
}
